UCF STIG Viewer Logo

The SSH client must not send environment variables to the server or must only send those pertaining to locale.


Overview

Finding ID Version Rule ID IA Controls Severity
V-39269 GEN005529-ESXI5-708 SV-51085r2_rule Medium
Description
Environment variables can be used to change the behavior of remote sessions and should be limited. Locale environment variables specify the language, character set, and other features modifying the operation of software to match the user's preferences.
STIG Date
VMware ESXi Server 5.0 Security Technical Implementation Guide 2013-12-20

Details

Check Text ( C-46533r5_chk )
Disable lock down mode. Enable the ESXi Shell. Execute the following command(s):
# grep SendEnv /etc/ssh/ssh_config

If the "SendEnv" attribute is not set to "LOCALE" or unassigned (the "SendEnv" attribute minus any parameter assignment), this is a finding.

Re-enable lock down mode.
Fix Text (F-44248r6_fix)
Disable lock down mode. Enable the ESXi Shell. Execute the following command(s):
# vi /etc/ssh/ssh_config

Add/modify the attribute line entry to one of the following (quotes for emphasis only):
"SendEnv LOCALE "
or
"SendEnv"

Re-enable lock down mode.